package 第1节循环语句;

import java.util.Scanner;

public class AnLi02 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        int sum = 0;    //求和
        for (int i = 0; i < n; i++) {
            int num = input.nextInt();
            sum += num;
        }
        System.out.println(sum / n);
    }
}
